Release 10.1A: OpenEdge Data Management:
SQL Reference
TO_CHAR
Converts the given expression to character form and returns the result. The primary use for
TO_CHARis to format the output of date-time expressions through theformat_stringargument.Syntax
expressionConverts to character form. It must evaluate to a value of the date or time data type to use the
format_string.format_stringSpecifies the format of the output. SQL ignores the format string if the
expressionargument does not evaluate to a date or time.Notes
- The first argument to the function can be of any type.
- The second argument, if specified, must be of type
CHARACTER.- The result is of type
CHARACTER.- The
formatargument can be used only when the type of the first argument isDATE.- If any of the argument expressions evaluates to
NULL, the result isNULL.Compatibility
Progress extension
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |